home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Graphics / VHIStudio / Install < prev    next >
Text File  |  2000-04-22  |  6KB  |  149 lines

  1. ; Innovative VHI Studio Installation utility
  2. ; (C) 2000 by Felix Schwarz/Innovative
  3. ; $VER: 5.0
  4.  
  5. (if (= @language "deutsch")
  6.         (
  7.                 ; ----------------------------
  8.                 ; Let`s use German as language
  9.                 ; ----------------------------
  10.                 (set #welcome "\n\n\n\nVHI Studio 5.0\n©1997-2000 by Felix Schwarz\n\n\nWillkommen zur VHI Studio Installation\nDieses Script wird VHI Studio auf Ihre HD installieren\n")
  11.                 (set #askinstall "Wohin soll VHI Studio installiert werden. (Es wird ein Verzeichnis erstellt)")
  12.                 (set #copylibs "Überprüfe und kopiere benötigte Libraries..")
  13.                 (set #copyhandler "Soll die VHI Studio Virtual Disk installiert werden ? (Mehr siehe 'Hilfe')")
  14.                 (set #copyhahelp   "Die VHI Studio VD (Virtual Disk) ermöglicht den Zugriff auf alle aufgenommenen Frames und Bilder wie auf Dateien. VHI Studio selbst nutzt dieses Feature, um MPEG-Animationen direkt aus dem Speicher zu enkodieren. Das zeitaufwendige Speichern von temporären Dateien entfällt damit. Es wird daher empfohlen, die VHI Studio VD zu installieren.")
  15.                 (set #copyhawhere  "Wohin soll der vhistudio-handler installiert werden ? (für gewöhnlich nach L:)")
  16.                 (set #copyhawhere2 "Wohin soll der Mounteintrag VHI0 installiert werden ? (für gewöhnlich nach DEVS:DOSDrivers)")
  17.                 (set #useradd "Folgende Zeilen werden zur User-Startup hinzugefügt:\n\n")
  18.                 (set #byebye "\n\n\n\n\n\n\nVHI Studio ist nun auf Ihrer Festplatte installiert.")
  19.         )
  20.         (
  21.                 ; -----------------------------
  22.                 ; Let`s use English as language
  23.                 ; -----------------------------
  24.                 (set #welcome "\n\n\n\nVHI Studio 5.0\n©1997-2000 by Felix Schwarz\n\n\nWelcome to the VHI Studio installation\nThis script will install VHI Studio on your HD\n")
  25.                 (set #askinstall "Where shall VHI Studio be installed. (A directory will be created)")
  26.                 (set #copylibs "Checking and installing required libraries..")
  27.                 (set #copyhandler "Would you like the VHI Studio Virtual Disk to be installed ? (For more, see 'Help')")
  28.                 (set #copyhahelp   "The VHI Studio VD (Virtual Disk) allows you to access all recorded frames and grabbed pictures as if they were files. VHI Studio itself utilizes this to allow MPEG encoding without the need for temporary files (great speedup!). It is recommended to install the VHI Studio VD.")
  29.                 (set #copyhawhere  "Where shall the vhistudio-handler be installed ? (usually this is L:)")
  30.                 (set #copyhawhere2 "Where shall the mount-entry VHI0 be installed ? (usually to DEVS:DOSDrivers)")
  31.                 (set #useradd "The following lines will be added to your user-startup:\n\n")
  32.                 (set #byebye "\n\n\n\n\n\nVHI Studio is now installed on your HD.")
  33.         )
  34. )
  35.  
  36. ; --------------------------------------
  37. ; Ok, let`s begin with a small greeting!
  38. ; --------------------------------------
  39.  
  40. (message #welcome)
  41.  
  42. (welcome)
  43.  
  44. ; ----------------------------------------
  45. ; Set destination-directory for VHI Studio
  46. ; ----------------------------------------
  47. (set #installdir
  48.         (askdir
  49.                 (prompt #askinstall)
  50.                 (help @askdir-help)
  51.                 (default @default-dest)
  52.         )
  53. )
  54.  
  55. (set #install_handler
  56.         (askbool
  57.                 (prompt #copyhandler)
  58.                 (help #copyhahelp)
  59.                 (default 1)
  60.         )
  61. )
  62.  
  63. (if (>= #install_handler 1)
  64.         (
  65.                 (set #handler_installdir
  66.                         (askdir
  67.                                 (prompt #copyhawhere)
  68.                                 (help @askdir-help)
  69.                                 (default "L:")
  70.                         )
  71.                 )
  72.  
  73.                 (set #mount_installdir
  74.                         (askdir
  75.                                 (prompt #copyhawhere2)
  76.                                 (help @askdir-help)
  77.                                 (default "DEVS:DOSDrivers")
  78.                         )
  79.                 )
  80.         )
  81. )
  82.  
  83. ; ----------------
  84. ; Copy basic files
  85. ; ----------------
  86. (copyfiles
  87.     (source "Inst/")
  88.     (dest #installdir)
  89.     (pattern "#?")
  90. )
  91.  
  92. ; --------------
  93. ; Copy libraries
  94. ; --------------
  95. (working #copylibs)
  96. (run "copylib Inst/VHIStudio/Libs/fxWARP.library LIBS:fxWARP.library")
  97. (run "copylib Inst/VHIStudio/Libs/vlab.library LIBS:vlab.library")
  98. (run "copylib Inst/VHIStudio/Libs/iff.library LIBS:iff.library")
  99. (makedir "Libs:VHI")
  100. (run "copylib Inst/VHIStudio/VHI/camex.vhi LIBS:VHI/camex.vhi")
  101. (run "copylib Inst/VHIStudio/VHI/gvp_iv24.vhi LIBS:VHI/gvp_iv24.vhi")
  102. (run "copylib Inst/VHIStudio/VHI/mvd819.vhi LIBS:VHI/mvd819.vhi")
  103. (run "copylib Inst/VHIStudio/VHI/vlab.vhi LIBS:VHI/vlab.vhi")
  104.  
  105.  
  106. ; ---------------
  107. ; Install handler
  108. ; ---------------
  109. (if (>= #install_handler 1)
  110.         (
  111.                 (copylib
  112.                         (source "handler/vhistudio-handler")
  113.                         (dest   #handler_installdir)
  114.                 )
  115.  
  116.  
  117.                 (copyfiles
  118.                         (source "handler/")
  119.                         (dest   #mount_installdir)
  120.                         (pattern "VHI0#?")
  121.                 )
  122.         )
  123. )
  124.  
  125. ; --------------------------
  126. ; Startup-Sequence-Additions
  127. ; --------------------------
  128. (set #thewholepath
  129.         (tackon #installdir "VHIStudio/")
  130. )
  131.  
  132. (set #startupadditions
  133.         ("Assign VHIStudio: \"%s\"" #thewholepath)
  134. )
  135.  
  136. (startup "Innovative VHI Studio"
  137.         (prompt #useradd
  138.                 #startupadditions)
  139.         (help "")
  140.         (command #startupadditions)
  141. )
  142.  
  143.  
  144. ; -------------------------
  145. ; Say Bye-Bye and Thank-You
  146. ; -------------------------
  147.  
  148. (message #byebye)
  149.